import 'es6-promise/auto'
import Vue from 'vue'
import App from './app.vue'
import store from './vuex/store'
import VueRouter from "vue-router";
import routers  from "./routers/router"
import 'whatwg-fetch'
import 'bootstrap/dist/css/bootstrap.css'

/*
Inspinia-admin模板相关
 */
import  "./Inspinia/font-awesome/css/font-awesome"
import  "./Inspinia/css/style"
import  "./Inspinia/css/animate"
import  "./sass/style"
// import  "./Inspinia/js/plugins/pace/pace.min.js"

Vue.use(VueRouter);

Vue.config.debug = true;
const router = new VueRouter({
    mode: 'hash',
    base: __dirname,
    routes:routers
})

const app =  new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')

